package com.shao.im.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shao.im.dao.CommentDao;
import com.shao.im.entity.Comment;
import com.shao.im.entity.vo.CommentVo;
import com.shao.im.service.CommentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 评论表(Comment)表服务实现类
 *
 * @author makejava
 * @since 2023-08-04 22:23:24
 */
@Service("commentService")
public class CommentServiceImpl extends ServiceImpl<CommentDao, Comment> implements CommentService {
    @Override
    public List<CommentVo> queryCommentByPid(Integer pid) {
        return getBaseMapper().queryCommentByPid(pid);
    }
}

